#ifndef USERPROCESSOR_HPP_
#define USERPROCESSOR_HPP_

#include "system/socket/AbstractConnectionProcessor.hpp"
#include "system/socket/Connection.hpp"
#include "system/thread/Thread.hpp"
#include "kit/user/UserMap.hpp"
#include <memory>
#include <string>

namespace KitProcessor
{
	class UserProcessor : public SystemSocket::AbstractConnectionProcessor
	{
		public:
			UserProcessor(KitUser::UserMap * iMap):_map(iMap){}
			virtual ~UserProcessor();
			virtual void process(SystemSocket::Connection * iConnection);
		protected:
			KitUser::UserMap * _map;
	};
}


#endif /* USERPROCESSOR_CPP_ */
